@charset "UTF-8";
$nav-height: 30px;

.page-home {
	// min-height: 100vh;
  .modules-wrap {
    padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
  }

  .head-search {
    .input-view {
      /* #ifndef APP-PLUS-NVUE */
      display: flex;
      /* #endif */
      flex-direction: row;
      // width: 500rpx;
      flex: 1;
      background-color: #f6f6f6;
      height: $nav-height;
      border-radius: 15px;
      padding: 0 15px;
      flex-wrap: nowrap;
      margin: 7px 0;
      line-height: $nav-height;
    }

    ::v-deep .uni-navbar__header-container {
      padding: 0 !important;
    }

    .nav-bar-input {
      height: $nav-height;
      line-height: $nav-height;
      width: 100%;
      padding: 0 5px;
      font-size: 12px;
      background-color: #f6f6f6;
    }
  }

  ::v-deep .navbar-wrap {
    width: calc(100% + 20px);
    margin: 0 -10px;

    .search-bar {
      // 44 - 32 = 12
      padding: 7px 0;

      .uni-searchbar__box {
        height: 30px !important;
        line-height: 30px !important;
      }
    }
  }

  .module-image {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 20rpx;

    .image {
      width: 100%;
    }
  }

  .module-swiper {
    .swiper-item {
      width: 100%;

      .slide-image {
        width: 100%;
      }
    }
  }

  .quick-icon-wrapper {
    padding: 30rpx 20rpx 0rpx;
    background: #fff;
    display: flex;
    flex-flow: wrap;
    margin-bottom: 20rpx;

    .link-item {
      margin-bottom: 24rpx;
      font-size: 26rpx;
      width: 20%;
      text-align: center;
      display: flex;
      justify-content: center;
      align-content: flex-start;
      flex-direction: column;
      align-items: center;

      .image {
        max-height: 120rpx;
      }

      text {
        margin-top: 16rpx;
        display: block;
        line-height: 1.3;
        font-size: 22rpx;
      }
    }

    &.quick-icon-8 .link-item, &.quick-icon-4 .link-item {
      width: 25%;
    }

    &.quick-icon-3 .link-item {
      width: 33.33%;
    }

    image {
      width: 94rpx;
    }
  }

  .module-title {
    text-align: center;
    font-weight: bold;
  }
}
